// -*- coding: utf-8 -*- 
/**
 * Project: AlgorithmsLearn
 * Creator: yanking
 * Create time: 2022-02-24 09:32
 * IDE: IntelliJ IDEA
 * Introduction:
 */
package com.leetCode.putFruites;

public class runPutFruits {
    public static void main(String[] args) {
        // int[] fruits = {1, 2, 3, 2, 2};
        // MAX -> 2->3->2->2
        int[] fruits = {3, 3, 3, 1, 2, 1, 1, 2, 3, 3, 4};
        System.out.println(new FruitsIntoBasketsUpdate().totalFruit(fruits));
    }

}
